﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>蓝领</title>
<!---------------------------------- 页面基本设置禁止随意更改 ------------------------------------------>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="index" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="renderer" content="webkit" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!---------------------------------- 页面基本设置禁止随意更改 -------------------------------------------->
<!---------------------------------- 基础CSS类库可随意更改 ---------------------------------------------->
<link type="text/css" rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/jingjiren/css/reset.css?v={yun:}$config.cachecode{/yun}" />
<link type="text/css" rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/jingjiren/css/pin.css?v={yun:}$config.cachecode{/yun}" />
<!---------------------------------- 基础CSS类库可随意更改结束 -------------------------------------------->
<!---------------------------------- 基础js类库可随意更改 ---------------------------------------->
<script type="text/javascript" src="{yun:}$config.sy_weburl{/yun}/app/template/jingjiren/js/jquery.1.11.3.min.js?v={yun:}$config.cachecode{/yun}"></script>
<!---------------------------------- 基础js类库可随意更改 ---------------------------------------->
    <script>
        weburl = "{yun:}$config.sy_weburl{/yun}";
    </script>
<script type="text/javascript">
$(function(){
   //<!-----------页面tab切换开始---------->
   $(".js-tab .tab-h li").click(function(){
		var i=$(this).index();
		$(this).addClass("active").siblings("li").removeClass("active");
		$(this).parents(".js-tab").find(".tab-con").eq(i).show().siblings(".tab-con").hide();
		})
   //<!-----------页面tab切换结束---------->
    //<!-----------页面tab切换结束---------->
    var mytabpost="{yun:}$type{/yun}";
    if (mytabpost==2) {
        $(".js-tab .tab-h li").eq(1).addClass("active").siblings("li").removeClass("active");
        $(".js-tab .tab-con").eq(1).show().siblings(".tab-con").hide();
    }else if(mytabpost==3){
        $(".js-tab .tab-h li").eq(2).addClass("active").siblings("li").removeClass("active");
        $(".js-tab .tab-con").eq(2).show().siblings(".tab-con").hide();
    }else{
        $(".js-tab .tab-h li").eq(0).addClass("active").siblings("li").removeClass("active");
        $(".js-tab .tab-con").eq(0).show().siblings(".tab-con").hide();
    }
    <!--路径选择切换的js开始-->
    $("#mytabvalue").click(function(){
        var val=$(".js-tab .tab-h li.active").attr("value");
        $("#from #tabinput").attr("value",val);
    })
 })
</script>

</head>
<body>
   <div class="pin_box pin_tbox">
        <!-----------------头部标题开始----------------->
        <div class="pin_title">
        	<a href="index.php?c=home" class="titleback"></a>
            <span class="titlename">用户入职</span>
        </div>
        <!-----------------头部标题结束----------------->
       <form method="get" action="index.php?" name="from" id="from">
           <!--<input name="m" value="jingjiren" type="hidden"/>-->
           <input name="c" value="userentry" type="hidden"/>
           <input name="type" value="1" type="hidden" id="tabinput"/>
           <div class="apply_searchbox">
               <input type="text" class="input" name="keyword" value="{yun:}$keyword{/yun}" placeholder="请输入搜索内容" id="mytabvalue">
               <!--<span class="search" onclick="document.getElementById('form1').submit();"></span>-->
               <input type="submit"  class="search" />
           </div>

       </form>
   	    <div class="pin_bcon">
        	<div class="pin_scroll">

                <div class="js-tab">
                     <div class="tab-h tabstyle_2">
                     	<ul>
                        	<li value="1">待入职</li>
                        	<li value="2">已入职</li>
                        	<li value="3">入职失败</li>
                        </ul>
                     </div>
                     <!--待入职-->
                     <div class="tab-con">
                     	 <div class="client_box">
                             {yun:}foreach from=$wait_entry item=v{/yun}
                              <a href="index.php?c=entry_list&user_id={yun:}$v.user_id{/yun}&type=1">
                         	  <div class="client_list">
                              	  <div class="client_icon"><img src="{yun:}$v.user_avatar{/yun}"></div>
                              	  <div class="client_info">
                                  	 <div class="name">{yun:}$v.username{/yun}</div>
                                  	 <div class="company">{yun:}$v.add_time{/yun} 投递{yun:}$v.company_name{/yun}</div>
                                  </div>
                              </div>
                              </a>
                             {yun:}/foreach{/yun}

                         </div>
                     </div>
                     <!--已入职-->
                     <div class="tab-con">
                         {yun:}foreach from=$entry item=v{/yun}
                         <a href="index.php?c=entry_list&user_id={yun:}$v.user_id{/yun}&type=2">
                          <div class="client_list">
                              <div class="client_icon"><img src="{yun:}$v.user_avatar{/yun}"></div>
                              <div class="client_info">
                                 <div class="name">{yun:}$v.username{/yun}</div>
                                 <div class="company">{yun:}$v.add_time{/yun} 投递{yun:}$v.company_name{/yun}</div>
                              </div>
                          </div>
                          </a>
                         {yun:}/foreach{/yun}

                     </div>
                     <!--未入职-->
                     <div class="tab-con">
                         {yun:}foreach from=$over item=v{/yun}
                         <a href="index.php?c=entry_list&user_id={yun:}$v.user_id{/yun}&type=3">
                          <div class="client_list">
                              <div class="client_icon"><img src="{yun:}$v.user_avatar{/yun}"></div>
                              <div class="client_info">
                                 <div class="name">{yun:}$v.username{/yun}</div>
                                 <div class="company">{yun:}$v.add_time{/yun} 投递{yun:}$v.company_name{/yun}</div>
                              </div>
                          </div>
                          </a>
                         {yun:}/foreach{/yun}
                     </div>
                     
                     
                </div>
                
                
            </div>
        </div>
        
   </div>
</body>
</html>
